package com.edu.his.service.impl;

import com.edu.his.domain.Disease;
import com.edu.his.mapper.DiseaseMapper;
import com.edu.his.service.DiseaseService;
import com.edu.his.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 描述：
 * 创建人：飘
 * 创建时间：2024/12/16
 **/
@Service
public class DiseaseServiceImpl implements DiseaseService{

    @Autowired
    private DiseaseMapper diseaseMapper;

    @Override
    public R selectDisease(Disease disease) {

        return R.success(200,"查询成功",this.diseaseMapper.selectDisease(disease));
    }
}
